from django.conf.urls import url
from django.urls import path
from . import views
urlpatterns = [
    # path('admin/', admin.site.urls),
    # 发布房源信息
    path('api/v1.0/houses/', views.HouseRelease.as_view()),
    # 上传房源图片
    url(r'^api/v1.0/houses/(?P<house_id>\d+)/images/$', views.HouseImageUpload.as_view()),
]


